package com.mrh.se2_contactasauraus;

public class Contact {
	 
    //private variables
    int _id;
    int _cat;
    String _name;
    String _phone_number;
    String _alt_number;
    String _email;
    String _comment;
    String _address;
 
    public String get_alt_number() {
		return _alt_number;
	}
	public void set_alt_number(String _alt_number) {
		this._alt_number = _alt_number;
	}
	public String get_email() {
		return _email;
	}
	public void set_email(String _email) {
		this._email = _email;
	}
	public String get_comment() {
		return _comment;
	}
	public void set_comment(String _comment) {
		this._comment = _comment;
	}
	public String get_address() {
		return _address;
	}
	public void set_address(String _address) {
		this._address = _address;
	}
	public int get_cat(){
		return _cat;
	}
	public void set_cat(int _cat){
		this._cat = _cat;
	}
	// Empty constructor
    public Contact(){
 
    }
    // constructor
    public Contact(int id, String name, String _phone_number){
        this._id = id;
        this._name = name;
        this._phone_number = _phone_number;
    }
 
    // constructor
    public Contact(String name, String _phone_number){
        this._name = name;
        this._phone_number = _phone_number;
    }
    // getting ID
    public int getID(){
        return this._id;
    }
 
    // setting id
    public void setID(int id){
        this._id = id;
    }
 
    // getting name
    public String getName(){
        return this._name;
    }
 
    // setting name
    public void setName(String name){
        this._name = name;
    }
 
    // getting phone number
    public String getPhoneNumber(){
        return this._phone_number;
    }
 
    // setting phone number
    public void setPhoneNumber(String phone_number){
        this._phone_number = phone_number;
    }
    
    public String getDisplayName() {
		return _name;
    }
}